package com.juntu.firelogin;

import android.content.Intent;
import android.util.Log;

import com.juntu.loginlib.ui.BaseSplashActivity;

/**
 * Created by cj on 2021/2/19.
 * Email:codesexy@163.com
 * Function:
 * desc:
 */
public class SplashActivity extends BaseSplashActivity {
    private static final String TAG = "SplashActivity";

    @Override
    protected void startLoginActivity() {
        startActivity(new Intent(this, LoginActivity.class));
    }

    @Override
    protected String getSystemConfigType() {
        return "appServerUrl,pmqInfo";
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_splash;
    }

    @Override
    protected void startMainActivity() {
        startActivity(new Intent(this, MainActivity.class));
    }

    @Override
    protected void parseConfig(String config) {
        Log.e(TAG, config);
    }

    @Override
    protected void saveLoginInfo(String loginResult) {
        Log.e(TAG, loginResult);
    }
}
